home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2001 February / GAME_2.ISO / utilities / Opera 5.01 / Opera501_final_nonjava.exe / OPERA.JAR / netscape / plugin / Plugin.class (.txt)
Encoding:
Java Class File  |  2000-12-07  |  634 b   |  27 lines

  1. package netscape.plugin;
  2.  
  3. import netscape.javascript.JSObject;
  4.  
  5. public class Plugin {
  6.    int plugin_id;
  7.    JSObject window;
  8.  
  9.    public void init() {
  10.    }
  11.  
  12.    public void destroy() {
  13.    }
  14.  
  15.    public int getPeer() {
  16.       return this.plugin_id;
  17.    }
  18.  
  19.    public JSObject getWindow() {
  20.       return this.window;
  21.    }
  22.  
  23.    public boolean isActive() {
  24.       return this.plugin_id != 0;
  25.    }
  26. }
  27.